package com.luyuan.crm.member.service;

import java.util.List;

import org.hibernate.criterion.Order;

import com.luyuan.crm.member.model.Member;
import com.luyuan.crm.member.model.MemberCouponRecord;
import com.ruijie.foundation.annotation.DomainService;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;

@DomainService
public interface MemberCouponRecordService {
    /**
     * <p>Description: 清除过期日志             </p>
     * <p>Create Time: 2013-4-27   </p>
     * @author Administrator
     */
    void clearLog();

    void addMemberCouponRecord(MemberCouponRecord memberCouponRecord);

    List<MemberCouponRecord> getByMember(Member member);

    Page pagedQuery(CriteriaTemplate c, int page, int pageSize, List<Order> orders);
}
